
package com.hlkj.pay.app.order.impl;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.infrastructure.model.order.PayOrderDO;
import com.hlkj.pay.service.order.IPayOrderService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

/**
 * @author HlpayTeam
 * @date 2024/10/12 9:42
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class PayOrderStatusHandler {

    private final IPayOrderService orderService;

    /**
     * 订单状态变更
     * 
     * @param payOrderNo
     */
    public void processStatusNotifyMessage(String payOrderNo) {
        PayOrderDO payOrderDO = orderService.queryPayOrder(payOrderNo);
        if (!StringUtils.hasText(payOrderDO.getNotifyUrl())) {

        }

    }
}
